package com.clkj.xiuzheng.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_factory" )
@Table( name ="t_cl_factory" )
public class Factory  implements Serializable {

    @Id
   	@Column(name = "factory_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer factoryId;

	/**
	 * 供应商Id
	 */
   	@Column(name = "factory_name" )
	@ApiModelProperty( value="供应商Id")
	private String factoryName;

	/**
	 * 0不可使用1可使用
	 */
   	@Column(name = "factory_status" )
	@ApiModelProperty( value="0不可使用1可使用")
	private Integer factoryStatus;

    /**
     * 0不可使用1可使用
     */
    @Column(name = "company_id" )
    @ApiModelProperty( value="")
    private Integer companyId;

  public Integer getFactoryId() {
    return factoryId;
  }

  public void setFactoryId(Integer factoryId) {
    this.factoryId = factoryId;
  }


  public String getFactoryName() {
    return factoryName;
  }

  public void setFactoryName(String factoryName) {
    this.factoryName = factoryName;
  }


  public Integer getFactoryStatus() {
    return factoryStatus;
  }

  public void setFactoryStatus(Integer factoryStatus) {
    this.factoryStatus = factoryStatus;
  }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
}
